
///
/// This is the common include file with all shared stuff
///

#ifndef COMMON_H
#define COMMON_H


#define SOCKET_TYPE SOCK_STREAM
#define STDIN fileno(stdin)
#define MSG_BUF_SIZE 1024

// 1 MB web page !!!
#define MAX_CONTENT_BUF_SIZE 100000000

#define CRLF "\r\n"
#define DOUBLE_CRLF "\r\n\r\n"
#define CONTENT_LENGTH "Content-Length: "
#define HTTP "HTTP"
#define EXPIRES "Expires: "
#define LASTMODIFIED "Last-Modified: "

#define MAX_CACHE_SIZE 3 

#endif
